@media (min-width: 750px) {
    .home-buy-form-box {
        background-color: #fff;
        padding: 30px 48px;

        .buy-table {
            border: 1px solid #EFEFEF;
            border-radius: 8px;
            color: #AAAAAA;

            .table-th-row,
            .active {
                background-color: #EFF7FF;
            }

            .table-th-row {
                font-size: 14px;
                line-height: 30px;
            }

            .table-td-row {
                font-size: 12px;
                line-height: 30px;
                height: 49px;
                border-top: 1px solid #EFEFEF;

                .select {
                    width: 96px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
            }

            .table-th-row,
            .table-td-row {
                display: flex;

                .table-th,
                .table-td {
                    border-right: 1px solid #EFEFEF;
                    padding: 14px 0;
                    text-align: center;
                }

                .table-th:last-child,
                .table-td:last-child {
                    border-right: none;
                }

                .select {
                    width: 96px;
                }


                .name {
                    flex: 1;
                }

                .price {
                    width: 129px;
                    color: #FF5800;
                }

                .time {
                    width: 94px;
                    display: flex;
                    align-items: center;
                }

            }

            .check {
                width: 28px;
                height: 33px;
                vertical-align: top;
            }

            .check-no {
                width: 24px;
                height: 24px;
                vertical-align: top;
            }

            .price-unit {
                font-size: 12px;
            }

            .number-box {
                font-size: 12px;
                display: flex;
                width: 72px;
                height: 30px;
                line-height: 22px;
                box-sizing: border-box;
                border: 1px solid #DDDDDD;
                border-radius: 5px;
                padding: 4px;
                margin: auto;

                .add {
                    text-align: center;
                    width: 14px;
                }

                .reduce {
                    width: 14px;
                }

                .number {
                    text-align: center;
                    flex: 1;
                    border-left: 1px solid #EFEFEF;
                    border-right: 1px solid #EFEFEF;
                }
            }
        }

        .buy-tips {
            margin-top: 19px;
            text-align: center;
            color: #AAAAAA;
            font-size: 12px;
            line-height: 30px;
        }

        .form-input-content {
            padding: 0 59px;
            display: flex;

            .form-input:first-child {
                margin-right: 19px;
            }

            .form-input {
                flex: 1;
                border-radius: 5px;
                border: 1px solid #DDDDDD;
                background-color: #EFEFEF;

                .input {
                    height: 37px;
                    width: 198px;
                    padding: 0 9px;
                    font-size: 12px;
                    line-height: 17px;
                    border: none;
                    background-color: transparent;
                }
            }
        }

        .btn-box {
            margin-top: 18px;
            text-align: center;

            .btn-com {
                width: 320px;
            }
            .btn-flex-clear{
                display: none;
            }
        }

        .buy-other {
            margin-top: 18px;
            display: flex;
            align-items: center;
            justify-content: center;

            .btn-clear {
                width: 81px;
                height: 30px;
                line-height: 30px;
                box-sizing: border-box;
                border: 1px solid #DDDDDD;
                background-color: #EFEFEF;
                border-radius: 5px;
                text-align: center;
                color: #AAAAAA;
                font-size: 12px;
                cursor: pointer;
            }

            .clear-tips {
                margin-left: 17px;
                color: #AAAAAA;
                font-size: 12px;
                line-height: 17px;
            }
        }
    }
}

@media (max-width: 750px) {
    .home-buy-form-box {
        background-color: #fff;
        padding: 20px 8px;
        height: 100%;
        box-sizing: border-box;

        .buy-table {
            border: 1px solid #EFEFEF;
            border-radius: 8px;
            color: #AAAAAA;

            .table-th-row,
            .active {
                background-color: #EFF7FF;
            }

            .table-th-row {
                font-size: 14px;
                line-height: 30px;
            }

            .table-td-row {
                font-size: 13px;
                line-height: 18px;
                height: 44px;
                border-top: 1px solid #EFEFEF;

                .select {
                    width: 67px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
            }

            .table-th-row,
            .table-td-row {
                display: flex;

                .table-th,
                .table-td {
                    border-right: 1px solid #EFEFEF;
                    padding: 14px 0;
                    text-align: center;
                }

                .table-th:last-child,
                .table-td:last-child {
                    border-right: none;
                }

                .select {
                    width: 67px;
                }


                .name {
                    flex: 1;
                }

                .price {
                    width: 75px;
                    color: #FF5800;
                }

                .time {
                    width: 85px;
                    display: flex;
                    align-items: center;
                }

            }

            .check {
                width: 22px;
                height: 30px;
                vertical-align: top;
            }

            .check-no {
                width: 22px;
                height: 22px;
                vertical-align: top;
            }

            .price-unit {
                font-size: 12px;
            }

            .number-box {
                font-size: 12px;
                display: flex;
                width: 67px;
                height: 28px;
                line-height: 18px;
                box-sizing: border-box;
                border: 1px solid #DDDDDD;
                border-radius: 5px;
                padding: 4px;
                margin: auto;

                .add {
                    text-align: center;
                    width: 11px;
                }

                .reduce {
                    width: 11px;
                }

                .number {
                    text-align: center;
                    flex: 1;
                    border-left: 1px solid #EFEFEF;
                    border-right: 1px solid #EFEFEF;
                }
                
            }
            .number-text{
                text-align: center;
                flex: 1;
            }
        }

        .buy-tips {
            margin-top: 18px;
            text-align: center;
            color: #AAAAAA;
            font-size: 11px;
            line-height: 16px;
        }

        .form-input-content {
            padding: 0 19px;

         

            .form-input {
                margin-top: 16px;
                border-radius: 5px;
                border: 1px solid #DDDDDD;
                background-color: #EFEFEF;

                .input {
                    height: 37px;
                    width: 100%;
                    padding: 0 12px;
                    font-size: 12px;
                    line-height: 17px;
                    border: none;
                    background-color: transparent;
                }
            }
        }

        .btn-box {
            margin-top: 18px;
            text-align: center;
            display: flex;
            padding: 0 19px;
            .btn-flex{
                flex: 1;
            }
            .btn-com {
                width: 100%;
            }
            .btn-flex-clear{
                padding-left: 15px;
                .btn-clear{
                    width: 99px;
                }
            }
        }
        .btn-clear {
            width: 81px;
            height: 30px;
            line-height: 30px;
            box-sizing: border-box;
            border: 1px solid #DDDDDD;
            background-color: #EFEFEF;
            border-radius: 5px;
            text-align: center;
            color: #AAAAAA;
            font-size: 12px;
            cursor: pointer;
        }
        .buy-other {
            margin-top: 18px;
            display: flex;
            align-items: center;
            
            .btn-clear{
                display: none;
            }
            

            .clear-tips {
                margin-left: 17px;
                color: #AAAAAA;
                font-size: 12px;
                line-height: 17px;
            }
        }
    }
}